project(rabbitvcs-dolphin-plugin)

set(CMAKE_AUTOMOC ON)
set(CMAKE_AUTOUIC ON)
set(CMAKE_AUTORCC ON)

aux_source_directory(${PROJECT_SOURCE_DIR} rdp_srcs)

add_library(rdp SHARED ${common_srcs} ${rdp_srcs})
set_target_properties(rdp PROPERTIES OUTPUT_NAME "rabbitvcs")
target_include_directories(rdp PUBLIC ${PROJECT_SOURCE_DIR})
target_link_libraries(rdp PUBLIC
                      KF6::KIOCore
                      DolphinVcs)
set_property(SOURCE ${PROJECT_SOURCE_DIR}/main.cpp APPEND PROPERTY OBJECT_DEPENDS ${PROJECT_SOURCE_DIR}/rabbitvcs.json)
